<?php
/**
 * Created by PhpStorm.
 * User: allen
 * Date: 2019/3/8
 * Time: 12:51
 */

namespace app\index\validate;

use think\Validate;

class Mch extends Validate{
    protected $rule =   [
        'name'  => 'require',
        'company' => 'require',
        'tel'=> 'require'
    ];

    protected $message  =   [
        'name.require'          => '姓名必填',
        'company.require'       => '公司名必填',
        'tel.require'           => '手机号必填'
    ];
}
